package homework_07;

/**
 * 轿车类，继承汽车类加入品牌属性
 */
public class Car extends Vehicle {
    private String brank;

    public Car(){
        super();
    }

    public Car(String b){
        super("轿车");
        this.brank = b;
    }

    public String getBrank() {
        return brank;
    }
}
